<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no"/>
	<title>三陪九辅</title>
	<link rel="stylesheet" href="../css/lt_common.css">
	<link rel="stylesheet" href="../css/lt_tab.css">
	<link rel="stylesheet" href="../css/nine_auxiliary.css">
    <link rel="stylesheet" type="text/css" href="../css/lksMenuSkin2.css" />
</head>
<body>
	<div class="page">
		<div class="tab">
			<div class="tab_header">
				<ul>
					<li><a href="javascript:;" class="on" onclick="headerClick('1');">三次陪访</a></li>
					<li><a href="javascript:;" onclick="headerClick('2');">九次辅导</a></li>
					<li><a href="javascript:;" onclick="headerClick('3');">新人话术</a></li>
				</ul>
				<div class="clear"></div>
			</div>
			<div class="tab_content_container">
				<div class="tab_content current" id="fudao">
				</div>
				<div class="tab_content menu"  id="jiufu">
				</div>
				<div class="tab_content" id="xinren">
				</div>
			</div>		
		</div>	
		<div class="finish_teach_mask teache_mask">
			<div class="img_content">
				<h3>完成辅导</h3>
				<p>新人扫描二维码，完成本关辅导</p>
				<!--<img src="jquery-quickmark.js" alt="" id="erweitu">-->
				<div id="output" align="center"></div>
				<p class="validate_code fd"></p>
				<input id="ok" type="button" value="完成" >
			</div>
		</div>
		<div class="finish_teach_mask finished_mask">
			<div class="img_content">
				<h3>完成通关</h3>
				<p>新人扫描二维码，完成本关通关</p>
				<div id="censorship"  align="center"></div>
				<p class="validate_code tg"></p>
				<input id="ok_finish" type="button" value="完成">
			</div>
		</div>
	</div>
</body>
</html>
<script src="../js/jquery.js"></script>
<script src="../js/jquery.lt_tab.js"></script>
<script src="../js/jquery.lksMenu.js"></script>
<script src="../js/common.js"></script>
<script src="../js/jquery.qrcode.min.js"></script>
<script src="../js/newCustomsClearance/nine_auxiliary.js"></script>
<script>
	var header_type = "1";
	function headerClick(h_type){
		header_type = h_type;
	}
	//tab
	$(".tab").lt_tab({
			minItems: 3,
			scroll:true,
			changeMode : "click",
			callBack:function(currentIndex){
				//console.log(currentIndex);
			}
		}); 
	
	$(function(){
		initAction();
	    $('.menu').lksMenu();
		//模拟select
		$('label input').on('click',function(){
			if ($(this).siblings('i').attr('class') == 'check_icon checked') {
				$(this).siblings('i').removeClass('checked');
			}else {
				$(this).siblings('i').addClass('checked');
			}	
		})
			
		$('.tab_header ul li').css('width','33.33%');
		//辅导
		$('#finish_teach').on('click',function(){
			if(qrcodeCensorship(1)){
				$('.teache_mask').fadeIn('fast',function(){
					$('.teache_mask .img_content').slideDown('fast');
				});
			}
		});
		
		//二维码消失
		$('#ok').on('click',function(){
			$('.teache_mask').fadeOut('fast',function(){
				$('.teache_mask .img_content').slideUp('fast');
			});
			
		});

		//通关
		$('#ok_finish_btn').on('click',function(){
			if(qrcodeCoach(2)){
				$('.finished_mask').fadeIn('fast',function(){
					$('.finished_mask .img_content').slideDown('fast');
				});
			}
		});
		$('#ok_finish').on('click',function(){
			$('.finished_mask').fadeOut('fast',function(){
			$('.finished_mask .img_content').slideUp('fast');
			});
		});
		//三次陪访辅导
		$('#teache_fin').on('click',function(){
			if(qrcodeCensorship(1)){
				
				$('.teache_mask').fadeIn('fast',function(){
					$('.teache_mask .img_content').slideDown('fast');
				});
			}
		});
		//新人话术通关
		$('#new_customer').on('click',function(){
			if(qrcodeCoach(2)){
				
				$('.finished_mask').fadeIn('fast',function(){
					$('.finished_mask .img_content').slideDown('fast');
				});
			}
		});
	})
</script>
